package ltd.smallwang.networkrecord.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ltd.smallwang.networkrecord.entity.ApiRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author justd
 * @description 功能描述
 * @since 2024-07-24 23:03
 **/
@Mapper
public interface ApiRecordMapper extends BaseMapper<ApiRecord> {

  @Select("select * from api_record where application_name = #{applicationName}")
  List<ApiRecord> queryByApplicationName(@Param("applicationName") String applicationName);
}
